﻿#region References
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using App_Code.Helpers;
using DotNetOpenAuth.OpenId.RelyingParty;
using App_Code.Logic;

#endregion
namespace WebClient
{
    public partial class Login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void OpenIdLogin1_LoggedIn(object sender, OpenIdEventArgs e)
        {
            if (e.Response.Status == AuthenticationStatus.Authenticated)
            {
                SessionLogic.SessionAuthenticatedOpenId(PageHelper.VisualCronSession, e);
            }
        }

        protected void OpenIdLogin1_LoggingIn(object sender, EventArgs e)
        {
            var str = e.ToString();
        }
    }
}